Managing Inheritance Hierarchies in Object/Relational Mapping Tools

نویسندگان

  • Luca Cabibbo
  • Antonio Carosi
چکیده

We study, in the context of object/relational mapping tools, the problem of describing mappings between inheritance hierarchies and relational schemas. To this end, we introduce a novel mapping model, called MORM+HIE , and investigate its mapping capabilities. We first show that MORM+HIE subsumes three well-know basic representation strategies for mapping a hierarchy to relations. We then show that MORM+HIE also allows expressing further mappings, e.g., where the three basic strategies are applied independently to different parts of a multi-level hierarchy. We describe the semantics of MORM+HIE in term of how CRUD (i.e., Create, Read, Update, and Delete) operations on objects (in a hierarchy) can be translated into operations over a corresponding relational database. We also investigate correctness conditions.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Representing Uniqueness Constraints in Object-Relational Mapping - The Natural Entity Framework

Object-oriented languages model data as transient objects, while relational databases store data persistently using a relational data model. The process of making objects persistent by storing their state as relational tuples is called object-relational mapping (ORM). This process is nuanced and complex as there are many fundamental differences between the relational model and the object model....

متن کامل

Plug & Play Model Transformations - A DSL for Resolving Structural Metamodel Heterogeneities

Model transformations play a key role in the vision of ModelDriven Engineering. Thereby, the resolution of structural heterogeneities between metamodels (MMs) represents the key challenge. For this task, current approaches require the definition of partly tricky, low-level recurring transformation logic but neglect to offer reusable components. Moreover, little attention has been paid to hetero...

متن کامل

An approach to object-relational mapping in bioscience domains

Object-relational mapping (mapping object-oriented software systems to relational databases) remains a challenging undertaking because of the inherent differences between these two technologies. Effective application of this technique in biomedical informatics applications can provide robust, adaptive solutions but requires careful attention to specific issues in the bioscience domain. Mapping ...

متن کامل

Teaching a Schema Translator to Produce O/R Views

This paper describes a rule-based algorithm to derive a relational schema from an extended entity-relationship model. Our work is based on an approach by Atzeni and Torlone in which the source EER model is imported into a universal metamodel, a series of transformations are performed to eliminate constructs not appearing in the relational metamodel, and the result is exported. Our algorithm inc...

متن کامل

Towards a metrics suite for object-relational mappings

Object-relational (O/R) middleware is frequently used in practice to bridge the semantic gap (the ‘impedance mismatch’) between object-oriented application systems and relational database management systems (RDBMSs). If O/R middleware is employed, the object model needs to be linked to the relational schema. Following the socalled forward engineering approach, the developer is faced with the ch...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005